package cn.csc.module.order.enums;

import cn.csc.framework.common.exception.ErrorCode;

/**
 * @author liuchuang
 * @version 1.0
 * @date 2024/1/3 14:15
 * @modify
 */
public interface ErrorCodeConstants {

    ErrorCode ORDER_NOT_EXISTS = new ErrorCode(1007001001, "订单信息不存在");
    ErrorCode ORDER_SUBMIT_DUPLICATE = new ErrorCode(1007001002, "订单信息重复提交");

    ErrorCode ORDER_ADDR_NOT_EXISTS = new ErrorCode(1007002001, "用户订单配送地址不存在");

    ErrorCode ORDER_ITEM_NOT_EXISTS = new ErrorCode(1007003001, "订单项不存在");

    ErrorCode ORDER_LOGISTICS_NOT_EXISTS = new ErrorCode(1007004001, "订单物流信息不存在");

    ErrorCode ORDER_RETURNS_NOT_EXISTS = new ErrorCode(1007005001, "订单退换货信息不存在");

    ErrorCode ORDER_RETURNS_APPLY_NOT_EXISTS = new ErrorCode(1007006001, "订单售后申请信息不存在");

    ErrorCode ORDER_AMT_NOT_EXISTS = new ErrorCode(1007007001, "订单金额不匹配");

    ErrorCode ORDER_AMT_MAX_EXISTS = new ErrorCode(1007007001, "订单金额不能超过50000元");

    ErrorCode ORDER_NO_DELIVERY = new ErrorCode(1007008001, "订单未发货，无法确认收货");

    ErrorCode ORDER_NOT_PAYED = new ErrorCode(1007008002, "订单未支付发货，无法确认收货");
    ErrorCode ORDER_EXPIRED=new ErrorCode(1007008002, "订单已过期");
    ErrorCode ORDER_TO_PAY_ERROR=new ErrorCode(1007008002, "支付订单接口异常");
    ErrorCode ORDER_WL_ISCHECK_ERROR = new ErrorCode(1007008002, "您的包裹好像还未签收，请检查后再确认收款");
    ErrorCode ORDER_WL_COMPANY_ERROR = new ErrorCode(1007008003, "快递公司查询错误");
    ErrorCode ORDER_WL_NODATA_ERROR = new ErrorCode(1007008004, "查询无结果，请隔段时间再查");
    ErrorCode ORDER_WL_SYSTEM_ERROR = new ErrorCode(1007008005, "服务器繁忙,请稍后再试");

    ErrorCode ORDER_SHOP_ERROR = new ErrorCode(1007001012, "不能再自己的店铺下单");
    ErrorCode ORDER_PRODUCT_NOT_EXISTS = new ErrorCode(1007003001, "订单产品已下架");
    ErrorCode ORDER_PRODUCT_STOCK_EXISTS = new ErrorCode(1007001013, "产品库存不足");

    //  -------------------MQ---------------------------
    ErrorCode MQ_SEND_FAIL = new ErrorCode(1007009001, "mq消息发送失败！");

    // 购物车
    ErrorCode SHOP_CART_ITEM_NOT_EXISTS = new ErrorCode(1007010001, "购物车不存在");

    // 购物车没有商品
    ErrorCode SHOP_CART_ITEM_NOT_PRODUCT_EXISTS = new ErrorCode(1007010001, "购物车没有商品");


}
